<?php

return [
    'username_required' => '姓名为必填项',
    'username_max' => '姓名太长',
    'department_id_required' => '部门为必填项',
    'department_id_numeric' => '部门必须是数字',
    'phone_required' => '电话为必填项',
    'phone_unique' => '电话已被占用',
    'phone_numeric' => '电话必须是数字',
    'email_email' => '邮箱必须为合法格式',
    'email_required' => '邮箱为必填项',
    'nickname_max' => '昵称太长',
    'gender_boolean' => '性别必须为布尔型',
    'user_block_failure' => '禁用失败',
    'user_block_unblock_failure' => '自己不可以禁用/解禁自己',
    'user_delete_myself_failure' => '自己不可以删除自己',
    'user_unblock_failure' => '解禁失败',
    'password_required' => '密码为必填项',
    'password_alpha_dash' => '密码格式必须为字母/数字/中划线/下划线',
    'password_between' => '密码长度必须在:min到:max位之间',
    'password_confirmed' => '两次输入的密码不一致',
    'file_required' => '文件为必填项',
    'file_mimes' => '文件格式必须为 :values',
    'file_max' => '文件太大(1M)',
    'usergroup' => [
        'title_required' => '用户组名称为必填项',
        'title_unique' => '用户组名称已被占用',
        'title_max' => '用户组名称太长',
        'description_max' => '用户组描述太长',
        'delete_failure_dependence' => '删除失败，用户组下存在用户',
        'permission_required' => '权限为必选项',
        'menu_required' => '菜单为必选项',
        'abbreviation_required' => '用户组标识为必填项',
        'abbreviation_unique' => '用户组标识已被占用',
        'abbreviation_max' => '用户组标识太长',
        'action_necessarily' => '功能为必填项',
        'user_group_not_exists' => '用户组不存在',
        'menu_not_exists' => '菜单不存在',
        'action_scope_not_exists' => '功能或者数据域不存在',
        'menu_action_not_exists' => '菜单下功能不存在',
        'user_group_and_menu_not_exists' => '用户组和菜单关系不存在'
    ],
    'department' => [
        'title_required' => '部门名称为必填项',
        'title_unique' => '部门名称已被占用',
        'title_max' => '部门名称太长',
        'description_max' => '部门描述太长',
        'delete_failure_dependence' => '删除失败，部门下存在用户'
    ],
    'regex_match' => '手机号格式错误',
    'job_max' => '工作名太长',
    'no_self_operation' => '非本人操作，请确认',
    'old_password_required' => '原密码为必填项',
    'old_password_alpha_dash' => '密码格式必须为字母/数字/中划线/下划线',
    'old_password_between' => '密码长度必须在:min到:max位之间',
    'password_not_same' => '密码输入错误',
    'email_unique' => '邮箱已经注册',
    'communication_required' => '联系方式是必填项',
    'communication_max' => '联系方式太长',
    'type_required' => '联系类型为必填项',
    'type_max' => '联系类型太长',
    'user_already_block' => '用户已禁用',
    'user_already_unblock' => '用户已解禁',
    'scope_id_required' => '用户数据域为必填项',
    'scope_id_numeric' => '用户数据域必须是数字',
    'parent_id_numeric' => '直属上级必须是数字',
    'identity_card_max' => '身份证号太长',
    'telphone_max' => '电话太长',
    'province_max' => '省太长',
    'city_max' => '市太长',
    'area_max' => '区太长',
    'address_max' => '详细地址太长',
    'superior_not_exists' => '直属上级不存在且不能为本人',
    'scope_not_exists' => '数据域不存在',
    'department_not_exists' => '部门不存在',
    'region_max' => '所属大区太长',
    'region_province_max' => '所属大区省份太长',
];
